package com.platform.service;

import com.platform.entity.ExchangeCodeEntity;
import com.platform.entity.GiftTypeEntity;
import com.platform.utils.R;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface ExchangeCodeService {
    //查询所有
    List<ExchangeCodeEntity> queryList(Map<String, Object> map);
    //查询所有条数
    int queryTotal(Map<String, Object> map);
    //保存实体
    R save(ExchangeCodeEntity exchangeCodeEntity);
    //修改
    int update(ExchangeCodeEntity exchangeCodeEntity);
    //批量删除
    int deleteBatch(Integer[] ids);
    //详情
    ExchangeCodeEntity queryObject(Integer id);
    /*批量新增*/
    R excelImport(List<String[]> list);
}
